package com.lazyfish.superdir.dao;

import com.lazyfish.superdir.entity.StudentAll;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.context.annotation.Primary;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
@Mapper
@Primary
public interface StudentAllDao {
    @Select("SELECT * FROM student")
    List<StudentAll> getStudentAllList();
}
